﻿using UnityEngine;
using System.Collections;

using AssemblyCSharp;

public class Star : MonoBehaviour {
	public SpaceInfoService mSpaceInfoService = null;

	// Use this for initialization
	void Start () {
		// Read Xml and Get Axis, Time
		mSpaceInfoService = SpaceInfoService.Instance;
		mSpaceInfoService.getSpaceDomain ();

		// Get Name and Domain
		string name = this.gameObject.name;
		StarDomain mStarDomain = mSpaceInfoService.getStar (name, typeof(StarDomain));
	}
	
	// Update is called once per frame
	void Update () {
		this.transform.Rotate (Vector3.right * 100 * Time.deltaTime);
	}
}
